package com.heiye.count.api.dto;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author: heiye
 * @date: 2025/07/14 上午10:16
 * @version: v1.0.0
 * @description: 批量查询问题维度相关计数
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class FindQuizCountsByIdsReqDTO {

    @NotNull(message = "问题 ID 集合不能为空")
    @Size(min = 1, max = 20, message = "问题 ID 集合长度必须大于等于 1 个，小于等于 20 个")
    private List<Long> quizIds;
}
